"""函数传参"""

# 序列传参
def f1_(a,b,c):
    print(a)
    print(b)
    print(c)

# f1_(*[1,2,3])

# f1_(*"qwe")
# t =(4,5,6)
# f1_(*t)


# 关键字传参,形参和实参名字要一致，传参的时候位置可以随意
def f2_(a,b,c):
    print(a,b,c)

# f2_(a=2,c=4,b=7)


# 字典关键字传参
#字典的key不是str不行
# 字典的key和形参名字不一致不行，
# 字典的key在形参中不存在不行，
# 字典的键值对个数和形参的个数不一致不行

def f3_(a,b,c):
    print(a,b,c)

# t = ("a","b","c",)
# d = {"b":44,"a":99,"c":66}
# f3_(**d)







